#ifndef SHADOWGRAPHICSITEM_H_
#define SHADOWGRAPHICSITEM_H_

#include <QGraphicsWidget>
#include <QBrush>


class ShadowGraphicsItem : public QGraphicsWidget
{
public:
    enum Side
    {
        Top,
        Bottom
    };
    
    ShadowGraphicsItem(Side side, QGraphicsItem * parent = 0);
    void setSide(Side side);
    
public: // QGraphicsWidget overrides
    virtual void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0);
    
private:
    QBrush brush;
    
};

#endif /* SHADOWGRAPHICSITEM_H_ */
